<Screen_wifi_interface>:
    target_temp: 37
    set_temp: "0.00"
    current_temp: "0.00"
    status: ["NA", "NA", "NA", "NA", "NA", "NA"]
    colors: ["gray", "gray", "gray", "gray", "gray", "gray"]
    
    MDBoxLayout:
        orientation: "vertical"
        spacing: "10dp"
        MDCard:
            size_hint: 0.6, 6
            pos_hint: {"center_x": 0.5}
            radius: "10dp"
        MDLabel:
            size_hint_y: 0.5
        MDBoxLayout:
            orientation: "horizontal"
            size_hint_x: 0.8
            pos_hint: {"center_x": 0.5}
            MDIconButton:
                icon: "plus"
                user_font_size: self.parent.height*0.4
                pos_hint:{"x": 0, "center_y": 0.5}
                on_press: root.plusTargetTemp(1)
            MDLabel:
                text: str(root.target_temp)
                halign: "left"
                size_hint_x: 3
                halign: "center"
                font_size: self.parent.height*0.4
            MDIconButton:
                icon: "minus"
                user_font_size: self.parent.height*0.4
                pos_hint:{"x": 0, "center_y": 0.5}
                on_press: root.plusTargetTemp(-1)
            MDLabel:
                text: " "
                size_hint_x: 1
                font_size: self.parent.height*0.4
            MDFillRoundFlatButton:
                text: "submit"
                pos_hint:{"center_x": 0.5, "center_y": 0.5}
                on_press: root.setTemperature()
        MDLabel:
            text: "target temp: " + root.set_temp
            font_size: self.height*0.5
            halign: "center"
        MDLabel:
            text: "current temp: " + root.current_temp
            font_size: self.height*0.5
            halign: "center"
        MDLabel:
            size_hint_y: 1
        MDBoxLayout:
            orientation: "horizontal"
            size_hint_x: 0.8
            pos_hint: {"center_x": 0.5}
            MDIcon:
                icon: "circle-slice-8"
                color: root.colors[2]
                size_hint_x: 0.8
            MDLabel:
                text: "Air pump"
                halign: "left"
                size_hint_x: 1.4
                font_size: self.parent.height*0.4
            MDLabel:
                text: root.status[2]
                halign: "left"
                size_hint_x: 0.8
                font_size: self.parent.height*0.4
            MDFillRoundFlatButton:
                text: "switch"
                pos_hint:{"center_x": 0.5, "center_y": 0.5}
                on_press: root.reversePin(2)
        MDBoxLayout:
            orientation: "horizontal"
            size_hint_x: 0.8
            pos_hint: {"center_x": 0.5}
            MDIcon:
                icon: "circle-slice-8"
                color: root.colors[3]
                size_hint_x: 0.8
            MDLabel:
                text: "Blue light"
                halign: "left"
                size_hint_x: 1.4
                font_size: self.parent.height*0.4
            MDLabel:
                text: root.status[3]
                halign: "left"
                size_hint_x: 0.8
                font_size: self.parent.height*0.4
            MDFillRoundFlatButton:
                text: "switch"
                pos_hint:{"center_x": 0.5, "center_y": 0.5}
                on_release: root.reversePin(3)
        MDBoxLayout:
            orientation: "horizontal"
            size_hint_x: 0.8
            pos_hint: {"center_x": 0.5}
            MDIcon:
                icon: "circle-slice-8"
                color: root.colors[4]
                size_hint_x: 0.8
            MDLabel:
                text: "Stirrer"
                halign: "left"
                size_hint_x: 1.4
                font_size: self.parent.height*0.4
            MDLabel:
                text: root.status[4]
                halign: "left"
                size_hint_x: 0.8
                font_size: self.parent.height*0.4
            MDFillRoundFlatButton:
                text: "switch"
                pos_hint:{"center_x": 0.5, "center_y": 0.5}
                on_press: root.reversePin(4)
        MDBoxLayout:
            orientation: "horizontal"
            size_hint_x: 0.8
            pos_hint: {"center_x": 0.5}
            MDIcon:
                icon: "circle-slice-8"
                color: root.colors[5]
                size_hint_x: 0.8
            MDLabel:
                text: "Fluid pump"
                halign: "left"
                size_hint_x: 1.4
                font_size: self.parent.height*0.4
            MDLabel:
                text: root.status[5]
                halign: "left"
                size_hint_x: 0.8
                font_size: self.parent.height*0.4
            MDFillRoundFlatButton:
                text: "switch"
                pos_hint:{"center_x": 0.5, "center_y": 0.5}
                on_press: root.reversePin(5)
        MDLabel:
            size_hint_y: 0.5